package com.hbx.dto.user;

import lombok.Data;

import javax.validation.constraints.Min;
import java.util.List;

/*
 * @Author:hbx
 * 
 * */
@Data
public class UpdateUserDto {

    private Integer userId;

    private String loginName;

    private String realName;

    @Min(value = 0,message = "年龄岂能为负数")
    private Integer sex;

    private String address;

    private String phone;

    private String pwd;

    @Min(value = 0,message = "职业参数异常")
    private Integer occupation;

    private String autoGraph;

    private List<String> userLabel;

}
